package com.theme.passport.entity.constant;

public enum MessageUserTypeEnum {

    ADMIN(1, "后台用户"),
    PORTAL(2, "前台用户");


    private int value;
    private String name;

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    MessageUserTypeEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }


    @Override
    public String toString() {
        return "UserStatus{" +
                "value=" + value +
                ", name='" + name + '\'' +
                '}';
    }
}
